package com.liu.zeximail.product.feign;

import com.liu.common.es.SkuEsModel;
import com.liu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author liuzexi
 * @email liuzexii@163.com
 * @date : 2021/4/29 19:01
 */

@FeignClient("zeximail-search")
public interface SearchFeignService {

    @PostMapping(value = "/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
